.PHNOY:all
all:tcpserver tcpclient

tcpserver:Main.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

tcpclient:TcpClient.cpp
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf tcpserver tcpclient